package com.chen.posp.util.iso8583;

import java.util.HashMap;
import java.util.Map;

/**
 * Title: POS报文域号和银联Bean属性的对应关系
 * @author rong.zhu
 */
public class PosParam {
	public static final Map<Integer, String> fields = new HashMap<Integer, String>();
	// 存放POS机报文中的域和银联Bean属性的对应关系
	static {
		fields.put(2, "primary_acct_num");
		fields.put(3, "processing_code");
		fields.put(4, "amt_trans");
		fields.put(11, "sys_trace_audit_num");
		fields.put(12, "time_local_trans");
		fields.put(13, "date_local_trans");
		fields.put(14, "date_expr");
		fields.put(15, "date_settlmt");
		fields.put(22, "pos_entry_mode_code");
		fields.put(23, "card_seq_id");
		fields.put(25, "pos_cond_code");
		fields.put(26, "pos_pin_captr_code");
		fields.put(28, "amt_trans_fee");
		fields.put(32, "acq_inst_id_code");
		fields.put(35, "track_2_data");
		fields.put(36, "track_3_data");
		fields.put(37, "retrivl_ref_num");
		fields.put(38, "authr_id_resp");
		fields.put(39, "resp_code");
		fields.put(41, "card_accptr_termnl_id");
		fields.put(42, "card_accptr_id");
		fields.put(44, "addtnl_resp_code");
		fields.put(48, "addtnl_data_private");
		fields.put(49, "currcy_code_trans");
		fields.put(50, "currcy_code_settlmt");
		fields.put(52, "pin_data");
		fields.put(53, "sec_relatd_ctrl_info");
		//签到报文中存放终端序列号  add by hongchao.li 2012-7-30
		fields.put(56, "noUse56");

		fields.put(571, "update_logo");
		fields.put(572, "soft_version");
		fields.put(573, "param_version");

		fields.put(591, "trx_source");
		fields.put(592, "custermer_requestid");
		fields.put(593, "custermer_name");

		fields.put(601, "msg_type_code");
		fields.put(602, "transBatchNo");
		fields.put(603, "net_mng_info_code");
		fields.put(604, "termnl_rcv_ablt");
		fields.put(605, "card_cond_code");
		fields.put(61, "ch_auth_info");
		fields.put(611, "org_trans_batch_no");
		fields.put(612, "org_sys_trace_audit_num");
		fields.put(613, "org_trans_date_time");
		fields.put(62, "switching_data");

		fields.put(631, "Interna_crecardcompa_code");
		fields.put(632, "custom_fields");
		fields.put(64, "mac");

	}
}
